using Dewin.BO.AgentMember;

namespace Dewin.BO.Actions
{
    /// <summary>
    /// Lop interface dinh nghia cac ham thuc thi Agent
    /// </summary>
    public interface IAgentAction
    {
        /// <summary>
        /// Ham bat dau chay agent
        /// </summary>
        object Start(Agent agent);

        /// <summary>
        /// Ham dang nhap
        /// </summary>
        /// <returns></returns>
        object Login(Agent agent);

        /// <summary>
        /// Ham dang xuat
        /// </summary>
        /// <returns></returns>
        object Logout(Agent agent);

        /// <summary>
        /// Ham kiem tra xem tai khoan co bi dang xuat khong
        /// </summary>
        /// <returns></returns>
        object CheckLogout(Agent agent);
    }
}
